namespace Eno.Domain.Entity.Event;

public abstract class DomainEvent
{
    public DateTime OccuredOn { get; }
    public Guid EventId { get; }

    protected DomainEvent()
    {
        EventId = Guid.NewGuid();
        OccuredOn = DateTime.UtcNow;
    }
}